// CopyRight (c) 2011
// All rights reserved.

/********************************************************************
	filename:	types.h
	created:	04/30/2011
	author:		Tsubasa
	purpose:	all base types redefined, for convenience

********************************************************************/

#ifndef _H_TYPES
#define _H_TYPES

typedef char				int8;
typedef unsigned char		uint8;
typedef short				int16;
typedef unsigned short		uint16;
typedef int					int32;
typedef unsigned int		uint32;

typedef __int64				int64;
typedef unsigned __int64	uint64;
typedef float				float32;
typedef double				float64;
typedef ptrdiff_t			diff_t;

#define UINT8_MAX			((uint8)-1)
#define UINT16_MAX			((uint16)-1)
#define UINT32_MAX			((uint32)-1)

#endif // _H_TYPES